{include file="public/header"/}

<div class="layui-fluid">
    <div class="layui-row">
        <form class="layui-form" action="" method="post">

            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>用户名
                </label>
                <div class="layui-input-inline">
                    <input type="text" value="{$user_info.username}" class="layui-input" readOnly="true">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>手机号
                </label>
                <div class="layui-input-inline">
                    <input type="text" value="{$user_info.phone}" class="layui-input" readOnly="true">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>等级</label>
                <div class="layui-input-inline">
                    <select name="level" class="form-control">
                        <option value="0" >SVIP0</option>
                        {volist name="level_info" id="vo"}
                        {if condition="($user_info.level == $vo.id)"}
                        <option value="{$vo.id}" selected="selected" >{$vo.name}</option>
                        {else /}
                        <option value="{$vo.id}" >{$vo.name}</option>
                        {/if}
                        {/volist}
                    </select>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>余额
                </label>
                <div class="layui-input-inline">
                    <input type="text" value="{$user_info.balance}" class="layui-input" readOnly="true">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>冻结资金
                </label>
                <div class="layui-input-inline">
                    <input type="text" value="{$user_info.freeze}" class="layui-input" readOnly="true">
                </div>
            </div>


            <div class="layui-form-item">
                <label  class="layui-form-label">
                    <span class="x-red">*</span>登录时间
                </label>
                <div class="layui-input-inline">
                    <input type="text" value="{$user_info.last_time|toDate}"  readOnly="true" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">
                    <span class="x-red">*</span>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>注册时间
                </label>
                <div class="layui-input-inline">
                    <input type="text" value="{$user_info.create_time|toDate}"  readOnly="true" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">
                    <span class="x-red">*</span>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>Bank_Name
                </label>
                <div class="layui-input-inline">
                    <input type="text" value="{$user_info.bank_name}" class="layui-input" readOnly="true">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>Holder_Name
                </label>
                <div class="layui-input-inline">
                    <input type="text" value="{$user_info.holder_name}" class="layui-input" readOnly="true">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>Account_Number
                </label>
                <div class="layui-input-inline">
                    <input type="text" value="{$user_info.account_number}" class="layui-input" readOnly="true">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>Phone_Number
                </label>
                <div class="layui-input-inline">
                    <input type="text" value="{$user_info.phone_number}" class="layui-input" readOnly="true">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>Email
                </label>
                <div class="layui-input-inline">
                    <input type="text" value="{$user_info.email}" class="layui-input" readOnly="true">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>Ifsc
                </label>
                <div class="layui-input-inline">
                    <input type="text" value="{$user_info.ifsc}" class="layui-input" readOnly="true">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>Upi
                </label>
                <div class="layui-input-inline">
                    <input type="text" value="{$user_info.upi}" class="layui-input" readOnly="true">
                </div>
            </div>

            <div class="layui-form-item" style="margin-left: 25%">
                <input type="hidden" name="id" value="{$user_info.id}" >
                <button  class="layui-btn" lay-filter="add" lay-submit="">提交</button>
            </div>
        </form>
    </div>
</div>

<script>
    layui.use(['form', 'layer'],
    );
</script>



